<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
     xmlns:a="http://xmlns.jcp.org/jsf/passthrough"
     template="TemplateCarrierSpace.xhtml">
     
     <ui:define name="body2" >
	<p:dataTable var="a" value="#{espaceUsersMB.listeMessages()}" >
<f:facet name="header">messages</f:facet>
<p:column headerText="IdMessage">
<p:outputLabel value="#{a.idMessage}" />
</p:column>

<p:column headerText="Objet">
<p:outputLabel value="#{a.objet}" />
</p:column>

<p:column headerText="from">
<p:outputLabel value="#{a.emeteur.email}" />
</p:column>

<p:column headerText="Date">
<p:outputLabel value="#{a.date}" />
</p:column>

</p:dataTable>
     </ui:define>
     </ui:composition>